home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
pgm_tool
/
pprd100
/
makefile
< prev
next >
Wrap
Makefile
|
1995-01-12
|
1KB
|
59 lines
#
# Makefile for PPRD
#
# You may wish to change the following four parameters
#
WATINCLUDE=. # path to WATTCP include files
WATLIB=. # path to WATTCP lib files
DEBUG= D # set to D for disable, E for enable symbolic debugging
#
MODEL= S # set to L for large, S for small
#
#
#
# auto configure section
#
#
!if '$(DEBUG)'=='E'
IDEBUG=-v
TEXTDEBUG=enabled
!elif '$(DEBUG)'=='D'
IDEBUG=-v-
TEXTDEBUG=disabled
#!else
#!error DEBUG must be set to either E or D
!endif
!if '$(MODEL)'=='L'
CMODEL=-ml
CLIB=$(WATLIB)\wattcplg.lib
TEXTMODEL=large
!elif '$(MODEL)'=='S'
CMODEL=-ms
CLIB=$(WATLIB)\wattcpsm.lib
TEXTMODEL=small
!else
!error MODEL must be set to either S or L
!endif
CFLAGS= -O $(CMODEL) $(IDEBUG) -I$(WATINCLUDE)
CC= bcc
#
#
# list of executables
#
#
pprd.exe: pprd.c
$(CC) $(CFLAGS) pprd.c $(CLIB)
jd.exe: jd.c
$(CC) $(CFLAGS) jd.c $(CLIB)
jdtsr.exe: jdtsr.c
$(CC) -mt $(IDEBUG) -I$(WATINCLUDE) -M jdtsr.c $(CLIB)